"""
章节信息。
"""

from pydantic import BaseModel, Field
from typing import Any


class Chapter(BaseModel):

    volume: str = Field(default='', description="卷名")
    chapter_number: int = Field(default=0, description="章节编号")
    chapter_title: str = Field(default='', description="章节标题")
    chapter_content: str = Field(default='', description="章节内容")

    character_profile: Any = Field(default=[], description="人物简介")
    characters: Any = Field(default=[], description="人物详细信息")

    plot: Any = Field(default='', description="情节设计分析")
    characterization: Any = Field(default=[], description="人物塑造分析")
    worldview: Any = Field(default='', description="世界观构建分析")
    writing_style: Any = Field(default='', description="文笔写作分析")
    problems: Any = Field(default=[], description="严重的问题点")
